<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">日志列表</h1>
</div>
<div class="wrapper-md">
  <div class="panel panel-default">

    <!--  按钮  -->
    <div class="panel-heading">
      <div class="row">
        <div class="col-sm-3">
          <button class="btn m-b-xs w-xs btn-danger" ng-click="delLog()">删除全部</button>
        </div>
      </div>
    </div>

    <!--  搜索框  -->
    <div class="row wrapper">
      <div class="col-sm-5 m-b-xs">
        <div class="input-group" >
          <div class="input-group-btn" >
            <span class="btn btn-default">接口标识</span>
          </div>
          <input type="text" class="form-control ng-pristine ng-valid ng-touched" ng-model="name">
        </div>
      </div>
    </div>

    <!--  数据表格  -->
    <table class="table table-striped table-bordered ng-isolate-scope dataTable no-footer" 
      style="display: table; width: 100%;table-layout:fixed;">
      <thead>
        <tr>
          <th style="width: 10%;text-align:center;">接口标识</th>
          <th style="width: 4%;text-align:center;">操作</th>
        </tr>
      </thead>
      <tbody>
        <tr ng-repeat="info in apiname_list | filter : name">
          <td>{{info}}</td>
          <td style="text-align:center;">
            <button type="button" class="btn btn-info btn-xs" ng-click="watchLog(info)">查看日志</button>
            <button type="button" class="btn btn-danger btn-xs" ng-click="delLog($index)">删除</button>
          </td>
        </tr>
      </tbody>
    </table>
    
  </div>
</div>
